package com.BigData.app.web;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.BigData.app.bean.novel;
import com.BigData.app.service.novelService;

@RestController
public class novelController {
	@Autowired
	private novelService NovelService;
	@RequestMapping("novel/getNovel")
	public List<novel> getNovel() {
		// TODO Auto-generated method stub
		return NovelService.getNovel();
	}
}
